import React, { Component } from 'react';
const Header = (props) => {
  return (
    <div>
      { props.children }
    </div>
  )
}

class App extends Component {
  render() {
    return (
      <div>
        <Header>
          <h1>hello React</h1>
          <div>如此强大</div>
        </Header>
      </div>
    );
  }
}

export default App;